import re
Source_string = '''001-苹果-100
002-香蕉-80 003-梨子-70'''
p = re.compile(r'\d+$',re.MULTILINE)
print(p.findall(Source_string))
